﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication2
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("同步下载");
            new DownloadFile().Downloading(@"D:\黄宏光\路政单机版_svn\highwayLaw_Single\highwayLawSingle\bin\Debug\highwayLaw.exe");
            Console.WriteLine();
            Console.WriteLine("异步下载");
            new DownloadFile().BeginDownloading(@"D:\黄宏光\路政单机版_svn\highwayLaw_Single\highwayLawSingle\bin\Debug\highwayLaw.exe");
            Console.WriteLine();
            Console.ReadKey();
        }
    }
}
